/**
 * 修改商品介绍内容DTO
 */
export default class GoodProduceUpdateDTO {
  static instance () {
    return new GoodProduceUpdateDTO()
  }

  setId (id) {
    if (id) {
      this.id = id
    }
  }

  setContent (content) {
    if (content) {
      this.content = content
    }
  }

  setLinkGoodId (linkGoodId) {
    if (linkGoodId) {
      this.linkGoodId = linkGoodId
    }
  }

  setLinkSubGoodId (linkSubGoodId) {
    if (linkSubGoodId) {
      this.linkSubGoodId = linkSubGoodId
    }
  }

  setLinkUrl (linkUrl) {
    if (linkUrl) {
      this.linkUrl = linkUrl
    }
  }

  setSortNumber (sortNumber) {
    if (sortNumber) {
      this.sortNumber = sortNumber
    }
  }

  setRemark (remark) {
    if (remark) {
      this.remark = remark
    }
  }
}
